package sg.edu.nus.iss.jass.model;

import java.util.Date;
import java.util.List;

/**
 * @version 1.0
 * @author SE19 Team 1
 * 
 */
public class JobAdvertDTO extends PropertiesDTO {
	private String referenceCode;
	private String jobTitle;
	private String jobDescription;
	private Integer yearOfExperience;
	private String salaryRange;
	private Date startDate;
	private String location;
	private Integer status;
	private String advertiser;
	private String skillsStr;
	private List<SkillDTO> skills;
	private String companyId;
	private CompanyDTO company;
	private Date createDate;
	
	public static final String[] JOBADVERT_STATUS = {"Active", "Deleted", "Withdraw"};
	
	public JobAdvertDTO() {
		super();
	}
	
	public JobAdvertDTO(String id, String refCode, String jobTitle, String jobDesc, Integer yrOfExp, String salaryRange, Date startDt, String loc, Integer status, String advertiser, Date createDt) {
		super(id);
		
		this.referenceCode = refCode;
		this.jobTitle = jobTitle;
		this.jobDescription = jobDesc;
		this.yearOfExperience = yrOfExp;
		this.salaryRange = salaryRange;
		this.startDate = startDt;
		this.location = loc;
		this.status = status;
		this.advertiser = advertiser;
		this.createDate = createDt;
	}
	
	public String getReferenceCode() {
		return referenceCode;
	}
	public void setReferenceCode(String referenceCode) {
		this.referenceCode = referenceCode;
	}
	public String getJobTitle() {
		return jobTitle;
	}
	public void setJobTitle(String jobTitle) {
		this.jobTitle = jobTitle;
	}
	public String getJobDescription() {
		return jobDescription;
	}
	public void setJobDescription(String jobDescription) {
		this.jobDescription = jobDescription;
	}
	public Integer getYearOfExperience() {
		return yearOfExperience;
	}
	public void setYearOfExperience(Integer yearOfExperience) {
		this.yearOfExperience = yearOfExperience;
	}
	public String getSalaryRange() {
		return salaryRange;
	}
	public void setSalaryRange(String salaryRange) {
		this.salaryRange = salaryRange;
	}
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getAdvertiser() {
		return advertiser;
	}
	public void setAdvertiser(String advertiser) {
		this.advertiser = advertiser;
	}
	public String getSkillsStr() {
		return skillsStr;
	}
	public void setSkillsStr(String skillsStr) {
		this.skillsStr = skillsStr;
	}
	public List<SkillDTO> getSkills() {
		return skills;
	}
	public void setSkills(List<SkillDTO> skills) {
		this.skills = skills;
	}
	public String getCompanyId() {
		return companyId;
	}
	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}
	public CompanyDTO getCompany() {
		return company;
	}
	public void setCompany(CompanyDTO company) {
		this.company = company;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
}
